Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632707 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect

font/ cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect/font/
1 Items
  • sans.ttf
  • assets/ cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect/assets/
    1 Items
  • wave.png
  • style.css cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect/style.css
    115 Views
    0 Comments
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    }

    @font-face {
    index.html cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect/index.html
    315 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <link rel="shortcut icon" href="assets/wave.png" type="image/x-icon">
    script.js cody/swapnilsparsh/30DaysOfJavaScript/21 - Wave Effect/script.js
    182 Views
    0 Comments
    const container = document.getElementById('container');
    const randomWaveButton = document.getElementById('randomWave');
    const circlesArr = [];
    let rows = 15;
    let cols = 15;

    // create circles
    for(let i=0; i<cols; i++) {